package clinicapoo.business;

import clinicapoo.exceptions.ValidationException;
import clinicapoo.factory.DAO;
import clinicapoo.factory.Validator;
import clinicapoo.model.Medico;

/**
 * Classe contendo regras de negócio referentes a médicos
 * @author fmontezuma
 */
public class MedicoBusiness extends BaseBusiness
{
	public void cadastrar(Medico m) throws ValidationException
	{
		log.debug(m.toString());
		Validator.medico.verificarDadosCadastro(m);
		DAO.medico.cadastrar(m);
	}
}
